package com.ztsoft.user.service.project;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ztsoft.user.pojo.entity.project.SecondBargain;
import com.ztsoft.user.utils.Result;

public interface SecondBargainService extends IService<SecondBargain> {
    Result<Object> updateSecondBargain(SecondBargain secondBargain);

    Result<Object> addSecondBargain(SecondBargain secondBargain);

    Result<Object> deleteSecondBargain(String id);

    Result<Object> querySecondBargain(String projectId, String status, Integer currentPage, Integer pageSize);

    Result<Object> approve(String id);

    Result<Object> reject(String id);

    Result<Object> access(String id);

    Result<Object> calculateCharge(String chargeType, String id);

    Result<Object> received(String id);
}
